Elasticsearch in Action by Radu Gheorghe Matthew Lee Hinman Roy Russo

Elasticsearch in Action by Radu Gheorghe Matthew Lee Hinman Roy Russo

Author:Radu Gheorghe, Matthew Lee Hinman, Roy Russo
Language: eng
Format: epub, pdf
Publisher: Manning Publications


They’re easy to use. Elasticsearch detects them by default; in most cases you don’t have to define anything special up front to index objects.

You can run queries and aggregations on objects as you would do with flat documents. That’s because at the Lucene level they are flat documents.

No joins are involved. Because everything is in the same document, using objects will give you the best performance of any of the options discussed in this chapter.

The downsides:

There are no boundaries between objects. If you need such functionality, you need to look at other options—nested, parent-child, and denormalizing—and eventually combine them with objects if it suits your use case.

Updating a single object will re-index the whole document.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.